package com.xt.purchasingsystem.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xt.purchasingsystem.dto.SupplierRecommendDto;
import com.xt.purchasingsystem.model.SupplierFile;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author yhp
 * @since 2020-05-31
 */
public interface SupplierFileMapper extends BaseMapper<SupplierFile> {


    /**
     * 根据产品名称查询此产品未推荐的所有供应商
     *
     * @param productId
     * @return
     */
    List<SupplierFile> getAllSupplierFileByProductName(String productId);

    /**
     * 查询所有的供应商名称
     * @return
     */
    List<String> getAllSupplierName();

}
